package com.shijie.domain.entity;
import lombok.Data;
import javax.persistence.Id;
import javax.persistence.Transient;

/*
 *  @author: smart boy
 *  @date: 2018-08-15
 */
@Data
public class Skus implements java.io.Serializable {
	private static final long serialVersionUID = 5454155825314635342L;
	
	@Id
	private java.lang.Integer id;
	private java.lang.Integer productId;
	private java.lang.String color;
	private java.lang.String size;
	// 制定的价格
	private java.math.BigDecimal price;
	// 活动后优惠的价格
	@Transient
	private java.math.BigDecimal salePrice;
	private java.lang.Integer investory;

	// 该sku参加的活动
	@Transient
	private  Activitys activity;

}
